<!DOCTYPE HTML PUBLIC>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h2>登录</h2>
    <!-- method只能小写 -->
    POST
    <form action="/dologin" method="post">
        <input type="text" name="username" placeholder="用户名"/>

        <input type="password" name="password" placeholder="密码"/>
        <input type="submit" value="登录"/>
    </form>
    get
    <form action="/dologin" method="get"> 
        <input type="text" name="username" placeholder="用户名"/>

        <input type="password" name="password" placeholder="密码"/>
        <input type="submit" value="登录"/>
    </form>
</body>
</html>